//
//  ViewModel.h
//  UICollectionViewAdvance
//
//  Created by GuochengLiu on 2016/12/23.
//  Copyright © 2016年 sumavision. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LiveColumn.h"

@class ViewModel;

typedef void(^ViewModelCompletion)(ViewModel *model, NSError *error);

typedef void(^ViewModelSectionCompletion)(ViewModel *model, LiveColumn *liveColumn, NSInteger section);

@interface ViewModel : NSObject

@property (copy, nonatomic) NSArray <LiveColumn *>*arrayColumn;

- (void)fetchDataWithCompleted:(ViewModelCompletion)completed sectionCompleted:(ViewModelSectionCompletion)sectionCompleted;

@end
